package cn.com.sinux.spring.exception;

/**
 * Created by Administrator on 2015/8/26.
 */
public class ServiceException extends BaseException{

    private String msg;

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public ServiceException(String msg) {
        super(msg);
        this.msg = msg;
    }

    public ServiceException(String msg, Throwable ex) {
        super(msg);
        this.cause = ex;
        this.msg = msg;
    }
}
